#include <iostream>
#include <string>
#include <regex>

int main()
{
	std::string s = "/number/12123";
	std::regex e("/number/(\\d+)");
	std::smatch sh;
	bool ret = std::regex_match(s,sh,e);
	if(!ret)
	{
		return -1;
	}
	for(auto &e:sh)
	{
		std::cout << e << std::endl;
	}
	return 0;
}